<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">

<head>
<meta charset="utf-8">
<title>社团管理系统</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="author" content="Bluth Company">
<link rel="shortcut icon" href="/study/study/Public/assets/ico/favicon.html">
<link href="/study/study/Public/assets/css/bootstrap.css" rel="stylesheet">
<link href="/study/study/Public/assets/css/theme.css" rel="stylesheet">
<link href="/study/study/Public/assets/css/font-awesome.min.css" rel="stylesheet">
<link href="/study/study/Public/assets/css/alertify.css" rel="stylesheet">
<link href="/study/study/Public/assets/css/colorpicker.css" rel="stylesheet">
<link href="/study/study/Public/assets/css/datepicker.css" rel="stylesheet">
<link href="/study/study/Public/assets/css/timepicker.css" rel="stylesheet">
<link href="/study/study/Public/assets/css/select2.css" rel="stylesheet">


<link rel="Favicon Icon" href="favicon.ico">

<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
</head>
<body>
	<div id="wrap">
		<div class="navbar navbar-fixed-top">
			<div class="navbar-inner">
				<div class="container-fluid">
					<div class="logo">
						<img src="/study/study/Public/assets/img/logo.png"
							alt="Realm Admin Template">
					</div>
					<a class="btn btn-navbar visible-phone" data-toggle="collapse"
						data-target=".nav-collapse"> <span class="icon-bar"></span> <span
						class="icon-bar"></span> <span class="icon-bar"></span>
					</a> <a class="btn btn-navbar slide_menu_left visible-tablet"> <span
						class="icon-bar"></span> <span class="icon-bar"></span> <span
						class="icon-bar"></span>
					</a>

					<div class="top-menu visible-desktop">
						<ul class="pull-left">

						</ul>
						<ul class="pull-right">
							<li><a href="<?php echo U('Login/logout');?>"><i class="icon-off"></i>
									Logout</a></li>
						</ul>
					</div>

					<div class="top-menu visible-phone visible-tablet">
						<ul class="pull-right">
							<li><a
								title="link to View all Messages page, no popover in phone view or tablet"
								href="#"><i class="icon-envelope"></i></a></li>
							<li><a
								title="link to View all Notifications page, no popover in phone view or tablet"
								href="#"><i class="icon-globe"></i></a></li>
							<li><a href="<?php echo U('Login/logout');?>"><i class="icon-off"></i>
							</a></li>
						</ul>
					</div>

				</div>
			</div>
		</div>

		<div class="container-fluid">

			<!-- Side menu -->
			<div class="sidebar-nav nav-collapse collapse">
				<div class="user_side clearfix">
					<img src="/study/study/Public/assets/img/odinn.jpg"
						alt="Odinn god of Thunder">
					<h5>Admin</h5>
					<a href="#"><i class="icon-cog"></i> Settings</a>
				</div>
				<div class="accordion" id="accordion2">
					<div class="accordion-group">
						<div class="accordion-heading">
							<a class="accordion-toggle b_F79999" href="index-2.html"><i
								class="icon-dashboard"></i> <span>功能列表</span></a>
						</div>
					</div>
					
					<div class="accordion-group">
						<div class="accordion-heading">
							<a class="accordion-toggle b_C3F7A7 collapsed"
								data-toggle="collapse" data-parent="#accordion1"
								href="#collapse1"><i class="icon-magic"></i> <span>用户管理</span></a>
						</div>
						<div id="collapse1" class="accordion-body collapse">
							<div class="accordion-inner">
								<a class="accordion-toggle" href="users"><i
									class="icon-star"></i> 用户列表</a> <a class="accordion-toggle"
									href="userAdd"><i class="icon-list-alt"></i>用户添加</a> <a
									class="accordion-toggle" href="users"><i class="icon-table"></i>
									用户删除</a> <a class="accordion-toggle" href="users"><i
									class="icon-circle"></i> 用户修改</a>
							</div>
						</div>
					</div>
					
					<div class="accordion-group">
						<div class="accordion-heading">
							<a class="accordion-toggle b_9FDDF6 collapsed"
								data-toggle="collapse" data-parent="#accordion2"
								href="#collapse2"><i class="icon-reorder"></i> <span>社团管理</span></a>
						</div>

						<div id="collapse2" class="accordion-body collapse">
							<div class="accordion-inner">
								<a class="accordion-toggle" href="groups"><i
									class="icon-rss"></i> 社团列表</a> <a class="accordion-toggle"
									href="groupsAdd"><i class="icon-rss"></i> 社团添加</a> <a
									class="accordion-toggle" href="groups"><i
									class="icon-calendar"></i> 社团删除</a> <a class="accordion-toggle"
									href="groups"><i class="icon-calendar"></i> 社团修改</a>
							</div>
						</div>
					</div>

					<div class="accordion-group">
						<div class="accordion-heading">
							<a class="accordion-toggle b_9FDDF6 collapsed"
								data-toggle="collapse" data-parent="#accordion3"
								href="#collapse3"><i class="icon-reorder"></i> <span>社团活动管理</span></a>
						</div>

						<div id="collapse3" class="accordion-body collapse">
							<div class="accordion-inner">
								<a class="accordion-toggle" href="practices"><i
									class="icon-rss"></i> 活动列表</a> <a class="accordion-toggle"
									href="practicesAdd"><i class="icon-rss"></i> 活动添加</a> <a
									class="accordion-toggle" href="practices"><i
									class="icon-calendar"></i> 活动删除</a> <a class="accordion-toggle"
									href="practices"><i class="icon-calendar"></i> 活动修改</a>
							</div>
						</div>
					</div>
					</div>

							<div class="accordion-group">
						<div class="accordion-heading">
							<a class="accordion-toggle b_9FDDF6 collapsed"
								data-toggle="collapse" data-parent="#accordion3"
								href="#collapse4"><i class="icon-reorder"></i> <span>最新动态管理</span></a>
						</div>

						<div id="collapse4" class="accordion-body collapse">
							<div class="accordion-inner">
								<a class="accordion-toggle" href="practices"><i
									class="icon-rss"></i> 动态列表</a> <a class="accordion-toggle"
									href="practicesAdd"><i class="icon-rss"></i>动态添加</a> <a
									class="accordion-toggle" href="practices"><i
									class="icon-calendar"></i> 动态删除</a> <a class="accordion-toggle"
									href="practices"><i class="icon-calendar"></i> 动态修改</a>
							</div>
						</div>
					</div>
				</div>
			</div>
			<!-- /Side menu -->

		

<div class="main_container" id="forms_page">
	<div class="row-fluid">
		<ul class="breadcrumb">
			<li><a href="#">Home</a> <span class="divider">/</span></li>
			<li><a href="#">Features</a> <span class="divider">/</span></li>
			<li class="active">Forms</li>
		</ul>
		<h2 class="heading">添加社团活动</h2>
	</div>

	<div class="row-fluid">
		<div class="widget widget-padding span12">

			<div class="widget-header">
				<i class="icon-list-alt"></i>
				<h5>社团活动</h5>

				<div class="widget-buttons">
					<a href="#" data-title="Collapse" data-collapsed="false"
						class="tip collapse" data-original-title=""><i
						class="icon-chevron-up"></i></a>
				</div>
			</div>


			<div class="widget-body">
				<div class="widget-forms clearfix">
				
					<form class="form-horizontal" method="post" enctype="multipart/form-data" action="addPractice">

						<input type="hidden" name="pid" value="">

						<div class="control-group">
							<label for="name" class=" control-label">活动名称</label>
							<div class="controls">
								<input type="text" class="form-control" id="name"
									name="name" placeholder="name"
									value="">
							</div>
						</div>

						<div class="control-group">
							<label for="groupname" class=" control-label">社团名称</label>
							<div class="controls">
								<input type="text" class="form-control" id="groupname"
									name="groupname" placeholder="groupname"
									value="">
							</div>
						</div>

						<div class="control-group">
							<label for="puser" class="control-label">发布人用户名</label>

							<div class="controls">
								<input type="text" class=" form-control " id="puser" name="puser"
									placeholder="puser" value="">
							</div>
						</div>

					<!-- 	<div class="control-group">
							<label for="pdate" class="col-md-2 control-label">发布时间</label>
							<div class="controls">
								<input type="datetime" class="form-control" id="pdate" name="pdate"
									placeholder="pdate" value="<?php echo ($practices["pdate"]); ?>">
							</div>
						</div> -->

							<div class="control-group">
							<label for="ptime" class="col-md-2 control-label">活动时间</label>
							<div class="controls">	
								<input type="datetime-local" class="form-control" id="ptime" name="ptime"
									placeholder="ptime" value="">
							</div>
						</div>
						<!-- 	
									
										<td class="col-sm-1">活动文件下载</td>

										<td><?php echo ($pr["pfile"]); ?></td>
										
									
			             -->
			             
						<div class="control-group">
							<label for="place" class="control-label">活动地点</label>

							<div class="controls">
								<input type="text" class=" form-control " id="place"
									name="place" placeholder="place" value="">
							</div>
						</div>
						
					<div class="control-group">
                    <label class="control-label">活动介绍</label>
                      <div class="controls">
                        <textarea name="intro" class="span3" rows="5" style="height:100px;"></textarea>
                      </div>
                  </div>
						
						
							<div class="control-group">
                    <label class="control-label">注意事项</label>
                      <div class="controls">
                        <textarea name="matters" class="span3" rows="5" style="height:100px;"></textarea>
                      </div>
                  </div>

				
						
						<div class="control-group">
							<label for="pfile" class="col-md-2 control-label">上传文件</label>
							<div class="controls">
								<input type="file" id="pfile" name="pfile">
							</div>

						</div>
					

					
					<div class="widget-footer">
				<button class="btn btn-primary" type="submit">Save</button>
				<button class="btn" type="button">Cancel</button>
			</div>
			</form>
				</div>
				
				
			
			</div>

			
			</div>
			
		</div>
	</div>



	
    </div><!--/.fluid-container-->
    </div><!-- wrap ends-->

    <!-- Example Modal -->
    <div id="example_modal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
        <h3 id="myModalLabel">Add user/employee</h3>
      </div>
      <div class="modal-body">
        <p>Here you can insert the user creation form</p>
      </div>
      <div class="modal-footer">
        <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
        <button class="btn btn-primary">Save changes</button>
      </div>
    </div>  

    <script type="text/javascript" src="/study/study/Public/assets/js/jquery.min.js"></script>
    <script type="text/javascript" src="/study/study/Public/assets/js/jquery-ui.min.js"></script>
    <script type="text/javascript" src="/study/study/Public/assets/js/raphael-min.js"></script>
    <script type="text/javascript" src="/study/study/Public/assets/js/bootstrap.js"></script>
    <script type="text/javascript" src='/study/study/Public/assets/js/sparkline.js'></script>
    <script type="text/javascript" src='/study/study/Public/assets/js/morris.min.js'></script>
    <script type="text/javascript" src="/study/study/Public/assets/js/jquery.dataTables.min.js"></script>   
    <script type="text/javascript" src="/study/study/Public/assets/js/jquery.masonry.min.js"></script>   
    <script type="text/javascript" src="/study/study/Public/assets/js/jquery.imagesloaded.min.js"></script>   
    <script type="text/javascript" src="/study/study/Public/assets/js/jquery.facybox.js"></script>   
    <script type="text/javascript" src="/study/study/Public/assets/js/jquery.alertify.min.js"></script> 
    <script type="text/javascript" src="/study/study/Public/assets/js/jquery.knob.js"></script>
    <script type='text/javascript' src='/study/study/Public/assets/js/fullcalendar.min.js'></script>
    <script type='text/javascript' src='/study/study/Public/assets/js/jquery.gritter.min.js'></script>
    <script type="text/javascript" src="/study/study/Public/assets/js/realm.js"></script>
    <script type="text/javascript" src="/study/study/Public/assets/js/select2.min.js"></script>
    <script type="text/javascript" src="/study/study/Public/assets/js/bootstrap-colorpicker.js"></script>
    <script type="text/javascript" src="/study/study/Public/assets/js/bootstrap-datepicker.js"></script>
    <script type="text/javascript" src="/study/study/Public/assets/js/bootstrap-timepicker.js"></script>
    
  </body>
</html>